package com.kemi.actable.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;

import java.util.Date;

/**
 * @author: lingk
 * @date: 2021-10-24
 * @description:
 */
@Data //lombok注解，不用管
@Table(name = "user_order2") //对应数据库表名，如果更改表名需要同步更改数据库表名，不然会重新创建表。
public class Nutrition extends SuperEntity{

    @Column(comment = "订单id")
    private Long order_id;


    @Column(comment = "商品状态")
    private Long status;

    @Column(comment = "openid")
    private String openid;

    @Column(comment = "订单类型")
    private Integer order_type;

    @Column(comment = "外部商品id")
    private String out_product_id;

    @Column(comment = "商品id")
    private String product_id;


    @Column(comment = "支付方法")
    private String pay_method;

    @Column(comment = "预支付id")
    private String prepay_id;

    @Column(comment = "预支付时间")
    private Date prepay_time;

    @Column(comment = "商品价格")
    private Integer product_price;


    @Column(comment = "订单金额")
    private Integer order_price;


    @Column(comment = "运费")
    private Integer freight;


    @Column(comment = "配送方式")
    private String delivery_method;


    @Column(comment = "用户备注")
    private String customer_note;


    @Column(comment = "商家备注")
    private String merchant_note;





}
